package com.qf.service;

import com.qf.pojo.Classroom;
import com.qf.utils.ResultMsg;
import org.omg.CORBA.INTERNAL;

import java.util.List;

public interface ClassroomService {
    //分页查看全部
    ResultMsg selectAll(int page, int limit);
    //查看一个
    ResultMsg selectOne(int classroomId);

    //修改
    ResultMsg update(Classroom classroom);

    //新增
    ResultMsg isertinto(Classroom classroom);
    //删除一个
    ResultMsg deleteOne(int classroomId);

    //删除多个
    ResultMsg deleteMul(List<Integer> classroomIds);

    //分页,模糊查询
    ResultMsg selectDim(int page,int limit,String classroomName,String classroomType,Integer classroomStatus);

    //修改状态
    ResultMsg updateStatus(int classroomId,int classroomStatus);

    //修改多个教室状态
    ResultMsg updateStatusMul(List<Integer> classroomIds, Integer classroomStatus);
}
